package July;

import java.util.Scanner;

public class Day0715 {
    //解读密码
    public static void main1(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNext()){
            String a = scanner.nextLine();

            for (int i = 0; i < a.length(); i++) {
                if (a.charAt(i)>= '0' && a.charAt(i)<='9'){
                    System.out.print(a.charAt(i));
                }
            }
            System.out.println();
        }
    }

    //走迷宫
    public static void main(String[] args) {

    }
}
